
<style>
    tr:hover{
        background-color: #f2f2f2;
    }
</style>
<h1>
    Прайс-лист
</h1>
<table border="1" cellspacing="0" style="width: 100%;">
    <tr>
        <th>Наименование</th>
        <th>Ед. измерения</th>
        <th>Цена, грн.</th>
        <th>Мин. заказ</th>
    </tr>
    <? foreach ($pricelist as $key => $price): ?>
        <tr>
            <td><a href="<?=BASE_URL;?>product.php?id=<?= $price['related_product']; ?>" target="_blank"><?= $price['title']; ?></a></td>
            <td><?=$price['measure'];?></td>
            <td><?= $price['price']; ?></td>
            <td><?=$price['min'];?></td>
        </tr>
    <? endforeach; ?>
</table>
